<?php
class Tgdongdoanphikhoa extends AppModel {
	var $name = 'Tgdongdoanphikhoa';
	var $virtualFields = array('name' => "CONCAT(Tgdongdoanphikhoa.thang_id, '_', Tgdongdoanphikhoa.chidoansv_id)");
	
	//The Associations below have been created with all possible keys, those that are not needed can be removed

	var $belongsTo = array(
		'Chidoansv' => array(
			'className' => 'Chidoansv',
			'foreignKey' => 'chidoansv_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Thang' => array(
			'className' => 'Thang',
			'foreignKey' => 'thang_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Namhoc' => array(
			'className' => 'Namhoc',
			'foreignKey' => 'namhoc_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Khoa' => array(
			'className' => 'Khoa',
			'foreignKey' => 'khoa_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);
}
